/*******************************************************************************
 * Copyright (c) 2009, 2010 SOPERA GmbH
 * All rights reserved.
 * This program and the accompanying materials are made available
 * under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 ******************************************************************************/

import org.hyperic.hq.hqu.rendit.HQUPlugin

class Plugin extends HQUPlugin {
	void initialize(File pluginDir) {
		super.initialize(pluginDir)
		/**
		 * The following can be un-commented to have the plugin's view rendered in HQ.
		 *
		 * description:  The brief name of the view (e.g.: "Fast Executor")
		 * attachType:   one of ['masthead', 'admin', 'resource']
		 * controller:   The controller to invoke when the view is to be generated
		 * action:       The method within 'controller' to invoke
		 * category:     (optional)  If set, specifies either 'tracker' or 'resource' menu
		 * resourceType: (if attachType == resource), specifies an list of 
		 *               type names to attach to (ex. ['MacOSX', 'Linux'])
		 */
		
		addView(description:  'Sopera Activity Monitor',
				attachType:   'masthead',
				controller:   SamController,
				action:       'index',
				category:	  'tracker')
	}	
}


